<form action="<?php echo HOME ?>edit_user_process" method="post">
    <input name="id" type="hidden" value="<?php echo $id ?>" />
<h3 class="center">EDIT USER</h3>
	<table class="tabelket" width="600px">
	<tr>
		<td class="right" width="50%">Username:</td>
		<td class="left" width="50%"><input name="user" class="panjang" value="<?php echo $user ?>"/></td>
	</tr>
	<tr>
		<td class="right">Password:</td>
		<td class="left"><input name="harga" type="password" class="panjang"/></td>
	</tr>
	<tr>
		<td class="right">Role:</td>
		<td class="left">    <select name='role_id'>
        <?php
        for($i=0;$i<count($role);$i++)
        {
            ?>
        <option value="<?php echo $role[$i]['id'] ?>" <?php 
            if($role[$i]['id']==$role_id) echo "selected"
        ?> >
            <?php echo $role[$i]['nama'] ?></option>
        <?php
        }
        ?>
			</select>
		</td>
	</tr>
	<tr>
		<td class="right">&nbsp;</td>
		<td class="left"><input type="submit" value="Submit" class="tombol"></td>
	</tr>
	</table>
</form>